package io.renren.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MsgBody<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("消息类型")
    @JsonProperty(value = "MsgType")
    @JSONField(name = "MsgType")
    private String MsgType;

    @ApiModelProperty("消息内容")
    @JsonProperty(value = "MsgContent")
    @JSONField(name = "MsgContent")
    private T MsgContent;


}
